From: Chong Yidong Date: Sun, 10 May 2009 22:21:17 +0000 (+0000) Subject: * nsfns.m (Fx_display_planes): Compute bitplanes using X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~618 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=dd0b2ca756960cf9c3e89986689da3ede64315d1;p=emacs.git * nsfns.m (Fx_display_planes): Compute bitplanes using NSBitsPerPixelFromDepth (Bug#3207). --- diff --git a/src/ChangeLog b/src/ChangeLog index 85b81e9cc89..9460f74b718 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2009-05-07 David Reitter + + * nsfns.m (Fx_display_planes): Compute bitplanes using + NSBitsPerPixelFromDepth (Bug#3207). + 2009-05-10 Chong Yidong * editfns.c (Ftranspose_regions): Doc fix (Bug#3248). diff --git a/src/nsfns.m b/src/nsfns.m index 13f9953554f..01ffcf1181c 100644 --- a/src/nsfns.m +++ b/src/nsfns.m @@ -2383,7 +2383,7 @@ If omitted or nil, that stands for the selected frame's display. */) { check_ns (); return make_number - (NSBitsPerSampleFromDepth ([ns_get_screen (display) depth])); + (NSBitsPerPixelFromDepth ([ns_get_screen (display) depth])); }